package com.ido.babyshow.service;

import java.io.File;
import java.io.IOException;

import org.springframework.stereotype.Service;

import com.ido.babyshow.model.Mother;
import com.ido.babyshow.model.Photo;

@Service
public interface IMotherService {    
    
   public boolean  validateEmail(String email);
   
   public boolean  registerMother(Mother mother);
   
   public Mother  selectByEmail(String email);
   
   public Mother login(String email,String password);
   
   public void addPro(Mother mother);
   
   public boolean publishMessage(String email,String content);
   
   public boolean shareImage(Photo photo,File imageFile,String fileType,Mother mother)throws IOException;
    
   

}
